/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nanosn.webapplication.core;

import org.restlet.Application;
import org.restlet.Directory;
import org.restlet.Restlet;

/**
 *
 * @author selkhateeb
 */
public class StaticFilesApplication extends Application
{

    @Override
    public Restlet createRoot()
    {
        Directory dir = new Directory(getContext(), "war:///");

        return dir;
    }
}
